﻿
@{
     Layout = "~/Views/Shared/_Layout.cshtml";
 }
<meta name="keywords" content="计算机作业系统,计算机应用基础,作业系统,上海师范大学,上海师范大学计算中心" />
<meta name="description" content="上海师范大学计算中心作业系统网站,主要有以下栏目：通知公告、教学动态、参考资料、资料下载、作业提交、作业发布、作业批阅" />
@section featured {
    <section class="featured">
        <div class="content-wrapper">
            <hgroup class="title">
                <h1>@ViewBag.Title.</h1>
                <h2>@ViewBag.Message</h2>
            </hgroup>
            <p>
                To learn more about ASP.NET MVC visit
                <a href="http://asp.net/mvc" title="ASP.NET MVC Website">http://asp.net/mvc</a>.
                The page features <mark>videos, tutorials, and samples</mark> to help you get the most from ASP.NET MVC.
                If you have any questions about ASP.NET MVC visit
                <a href="http://forums.asp.net/1146.aspx/1?MVC" title="ASP.NET MVC Forum">our forums</a>.
            </p>
        </div>
    </section>
}
<h3>We suggest the following:</h3>
<ol class="round">
    <li class="one">
        <h5>Getting Started</h5>
        ASP.NET MVC gives you a powerful, patterns-based way to build dynamic websites that
        enables a clean separation of concerns and that gives you full control over markup
        for enjoyable, agile development. ASP.NET MVC includes many features that enable
        fast, TDD-friendly development for creating sophisticated applications that use
        the latest web standards.
        <a href="http://go.microsoft.com/fwlink/?LinkId=245151">Learn more…</a>
    </li>

    <li class="two">
        <h5>Add NuGet packages and jump-start your coding</h5>
        NuGet makes it easy to install and update free libraries and tools.
        <a href="http://go.microsoft.com/fwlink/?LinkId=245153">Learn more…</a>
    </li>

    <li class="three">
        <h5>Find Web Hosting</h5>
        You can easily find a web hosting company that offers the right mix of features
        and price for your applications.
        <a href="http://go.microsoft.com/fwlink/?LinkId=245157">Learn more…</a>
    </li>
</ol>
学习资源
<div>
    @foreach (var item in ViewData["LearnResource"] as IEnumerable<prohomework.Models.LearnResource>)

    {
        @Html.ActionLink(item.LR_Video_Name, "Video_XZ", new {ID=item.LR_ID }, new { target = "_blank" })


    }


</div>
  <a href="@Url.Action("ArticleList",new {ClassID=1})" target="_blank"><span class=".glyphicon .glyphicon-chevron-right"></span> 通知公告</a>
<div>
    @foreach (var item in ViewData["Notice"] as IEnumerable<prohomework.Models.Article>)

    {
        @Html.ActionLink(item.AT_Title, "ArticleShow", new { ID = item.AT_ID })


    }


</div>


<a href="@Url.Action("ArticleList",new {ClassID=4})" target="_blank"><span class=".glyphicon .glyphicon-chevron-right"></span>教学动态</a>
<div>
    @foreach (var item in ViewData["TeachingDynamic"] as IEnumerable<prohomework.Models.Article>)

    {
        @Html.ActionLink(item.AT_Title, "ArticleShow", new { ID = item.AT_ID })


    }
</div>

   <a href="@Url.Action("ArticleList",new {ClassID=3})" target="_blank"><span class=".glyphicon .glyphicon-chevron-right"></span> 参考文档</a>
    <div>
        @foreach (var item in ViewData["referencesdoc"] as IEnumerable<prohomework.Models.Article>)

        {
            @Html.ActionLink(item.AT_Title, "ArticleShow", new { ID = item.AT_ID })
        }
    </div>

    资料下载
    <div>
        @foreach (var item in ViewData["downloadfiles"] as IEnumerable<prohomework.Models.DownLoadFile>)

        {
            @Html.ActionLink(item.DLF_Title, "GetFile", new { ID = item.DLF_ID })


        }
    </div>
